<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <!--[if gt IE 8]>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <![endif]-->
    <title>Login - Wikee Company</title>
    <link rel="icon" type="image/ico" href="favicon.ico"/>

    <link href="<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/css/stylesheets.css" rel="stylesheet" type="text/css" />
    <!--[if lt IE 10]>
        <link href="css/ie.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    <!--[if lte IE 7]>
        <script type='text/javascript' src='js/plugins/other/lte-ie7.js'></script>
    <![endif]-->
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/jquery/jquery-1.9.1.min.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/jquery/jquery-ui-1.10.1.custom.min.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/jquery/jquery-migrate-1.1.1.min.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/jquery/globalize.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/other/excanvas.js'></script>

    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/other/jquery.mousewheel.min.js'></script>

    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/bootstrap/bootstrap.min.js'></script>

    <script type='text/javascript' src="<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/uniform/jquery.uniform.min.js"></script>

    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/shbrush/XRegExp.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/shbrush/shCore.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/shbrush/shBrushXml.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/shbrush/shBrushJScript.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins/shbrush/shBrushCss.js'></script>

    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/plugins.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR;?>/js/charts.js'></script>
    <script type='text/javascript' src='<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/js/actions.js'></script>

</head>
<body>
    <div id="loader"><img src="<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/img/loader.gif"/></div>

    <div class="login">

        <div class="page-header">
            <!--div class="icon">
                <span class="ico-arrow-right"></span>
            </div-->
            <h1><img src="<?php echo THEME_DIR.DS.THEME_NOME_DIR ;?>/img/logo_wikeecompany.png"><!--small>Wikee Company</small --></h1>
        </div>
<div id="login">
                <?php
                                //Verifica se foi submetido o formulário de autenticação de usuário
                                if(isset($_POST['logar']))
                                {
                                        //executa o método reponsével por efetuar a autenticação
                                        $l = autenticacao::loga();
                                }
                                ?>
                </div>
        <div class="row-fluid">
            <form action="<?php echo $_SERVER['PHP_SELF']. '?' .$_SERVER['QUERY_STRING']; ?>" method="post">
            <div class="row-form">

                <div class="span12">
                    <div class="input-prepend">
                        <span class="add-on orange"><i class="icon-user icon-white"></i></span>
                    <input type="text" name="usuario" placeholder="usuário"/>
                    </div>
                </div>
            </div>
            <div class="row-form">
                <div class="span12">
                    <div class="input-prepend">
                        <span class="add-on orange"><i class="icon-lock icon-white"></i></span>
                    <input type="password" name="senha" placeholder="senha"/>
                    </div>
                </div>
            </div>
            <div class="row-form">
                <!--div class="span12">
                    <input type="checkbox"/> Keep me signed in
                </div -->
            </div>
            <div class="row-form">
                <div class="span12">
                    <button class="btn btn-inverse" name="logar">Acessar <span class="icon-arrow-next icon-white"></span></button>
                </div>
            </div>
            </form>
        </div>
    </div>

</body>
</html>
